package com.yitongmao.bean;

/*
* 作者：梁伟航 on 2017/7/26 16:21
* 类的用途：
*/
public class UserMessageBean {


    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"message":"查询成功!"}
     * user : {"start":0,"page":1,"showNumber":6,"search":null,"params":{},"id":3,"loginId":2,"codePre":"2017","codeSuf":"967","userName":"18511869467","petName":"185****9467","sex":null,"companyName":null,"email":null,"phone":"18511869467","creationDate":null,"version":0,"lastLoginTime":null,"state":"01","headImage":null,"region":null,"address":"","operatorId":null,"isAuthentication":null,"balance":0,"points":0}
     */

    public ResultBean result;
    public UserBean user;

    @Override
    public String toString() {
        return "UserMessageBean{" +
                "result=" + result +
                ", user=" + user +
                '}';
    }

    public static class ResultBean {
        /**
         * state : 1
         * code : SUCCESS
         * url : null
         * obj : null
         * message : 查询成功!
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public String message;
    }

    public static class UserBean {
        /**
         * start : 0
         * page : 1
         * showNumber : 6
         * search : null
         * params : {}
         * id : 3
         * loginId : 2
         * codePre : 2017
         * codeSuf : 967
         * userName : 18511869467
         * petName : 185****9467
         * sex : null
         * companyName : null
         * email : null
         * phone : 18511869467
         * creationDate : null
         * version : 0
         * lastLoginTime : null
         * state : 01
         * headImage : null
         * region : null
         * address :
         * operatorId : null
         * isAuthentication : null
         * balance : 0.0
         * points : 0
         */

        public int start;
        public int page;
        public int showNumber;
        public Object search;
        public ParamsBean params;
        public int id;
        public int loginId;
        public String codePre;
        public String codeSuf;
        public String userName;
        public String petName;
        public Object sex;
        public Object companyName;
        public Object email;
        public String phone;
        public Object creationDate;
        public int version;
        public Object lastLoginTime;
        public String state;
        public Object headImage;
        public Object region;
        public String address;
        public Object operatorId;
        public Object isAuthentication;
        public double balance;
        public int points;

        @Override
        public String toString() {
            return "UserBean{" +
                    "start=" + start +
                    ", page=" + page +
                    ", showNumber=" + showNumber +
                    ", search=" + search +
                    ", params=" + params +
                    ", id=" + id +
                    ", loginId=" + loginId +
                    ", codePre='" + codePre + '\'' +
                    ", codeSuf='" + codeSuf + '\'' +
                    ", userName='" + userName + '\'' +
                    ", petName='" + petName + '\'' +
                    ", sex=" + sex +
                    ", companyName=" + companyName +
                    ", email=" + email +
                    ", phone='" + phone + '\'' +
                    ", creationDate=" + creationDate +
                    ", version=" + version +
                    ", lastLoginTime=" + lastLoginTime +
                    ", state='" + state + '\'' +
                    ", headImage=" + headImage +
                    ", region=" + region +
                    ", address='" + address + '\'' +
                    ", operatorId=" + operatorId +
                    ", isAuthentication=" + isAuthentication +
                    ", balance=" + balance +
                    ", points=" + points +
                    '}';
        }

        public static class ParamsBean {
        }
    }
}
